package com.zz.tijian.constants;

public class HospitalConstants {
    public static final String MAPPING_TEMPLATE ="{\n" +
            "    \"mappings\" : {\n" +
            "      \"properties\" : {\n" +
            "        \"all\":{\n" +
            "          \"type\": \"text\",\n" +
            "          \"analyzer\" : \"ik_max_word\",\n" +
            "          \"search_analyzer\" : \"ik_smart\"\n" +
            "        },\n" +
            "        \"address\" : {\n" +
            "          \"type\" : \"text\",\n" +
            "          \"copy_to\": \"all\"\n" +
            "        },\n" +
            "        \"businessHours\" : {\n" +
            "          \"type\" : \"keyword\",\n" +
            "          \"index\" : false\n" +
            "        },\n" +
            "        \"deadline\" : {\n" +
            "          \"type\" : \"keyword\",\n" +
            "          \"index\" : false\n" +
            "        },\n" +
            "        \"deadlineTime\" : {\n" +
            "          \"type\" : \"date\",\n" +
            "          \"format\" : \"HH:mm\"\n" +
            "        },\n" +
            "        \"endTime\" : {\n" +
            "          \"type\" : \"date\",\n" +
            "          \"format\" : \"HH:mm\"\n" +
            "        },\n" +
            "        \"hpId\" : {\n" +
            "          \"type\" : \"integer\",\n" +
            "          \"index\" : false\n" +
            "        },\n" +
            "        \"name\" : {\n" +
            "          \"type\" : \"text\",\n" +
            "          \"copy_to\": \"all\"\n" +
            "        },\n" +
            "        \"picture\" : {\n" +
            "          \"type\" : \"keyword\",\n" +
            "          \"index\" : false\n" +
            "        },\n" +
            "        \"rule\" : {\n" +
            "          \"type\" : \"keyword\",\n" +
            "          \"index\" : false\n" +
            "        },\n" +
            "        \"startTime\" : {\n" +
            "          \"type\" : \"date\",\n" +
            "          \"format\" : \"HH:mm\"\n" +
            "        },\n" +
            "        \"state\" : {\n" +
            "          \"type\" : \"integer\",\n" +
            "          \"index\" : false\n" +
            "        },\n" +
            "        \"telephone\" : {\n" +
            "          \"type\" : \"keyword\",\n" +
            "          \"index\" : false\n" +
            "        }\n" +
            "      }\n" +
            "    }\n" +
            "}";
}
